import axios from '@/http/index';
/* 资源变更单新接口 */
export function getCmbizCount(option: string) {
  return axios({
    url: '/monitor/cmbizCount/getCmbizCount',
    method: 'post',
    data: option
  });
}
export function selectVmBizInfoCount(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectVmBizInfoCount',
    method: 'post',
    data: option
  });
}
export function selectTaskInfoProvinceCount(option: string) {
  return axios({
    url: '/monitor/vmBizInfo/selectTaskInfoProvinceCount',
    method: 'post',
    data: option
  });
}
// /* 应急监控单 */
// export function emergency() {
//   return axios({
//     url: '/monitor/eventCount/emergency',
//     method: 'post'
//   });
// }
/*监控事件单*/
export function eventCount() {
  return axios({
    url: '/monitor/eventCount/eventCount',
    method: 'post'
  });
}
/* 监控事件单-接手、更新（中心、等级）统计 */
export function eventCountType() {
  return axios({
    url: '/monitor/eventCount/eventCountType',
    method: 'post'
  });
}
/* 监控事件单-近八天统计 */
export function compareCount(option: string) {
  return axios({
    url: '/monitor/eventCount/compareCount',
    method: 'post',
    data: option
  });
}
/*当前处理 */
export function getPendingCount() {
  return axios({
    url: '/monitor/fmbizCount/getPendingCount',
    method: 'post'
  });
}
/*当前紧急 */
export function getPendingEmergencyList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getPendingEmergencyList',
    method: 'post',
    data: option
  });
}
/*领取超时 */
export function getCollectionTimeoutList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getCollectionTimeoutList',
    method: 'post',
    data: option
  });
}
/*紧急超时 */
export function getEmergencyTimeoutList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getEmergencyTimeoutList',
    method: 'post',
    data: option
  });
}
/*疑难事件 */
export function getDifficultEventsList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getDifficultEventsList',
    method: 'post',
    data: option
  });
}
/*关联超时 */
export function getFmBizRelationIssueList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getFmBizRelationIssueList',
    method: 'post',
    data: option
  });
}
/* 数据变更超时 */
export function getCmBizSjTimeoutList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getCmBizSjTimeoutList',
    method: 'post',
    data: option
  });
}
export function getHandleTimeoutList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getHandleTimeoutList',
    method: 'post',
    data: option
  });
}
/* 当前处理---待领取，处理中 */
export function getNoDataChangeList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getNoDataChangeList',
    method: 'post',
    data: option
  });
}
/* 当前处理---数据变更 */
export function getFmBizDataChangeList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getFmBizDataChangeList',
    method: 'post',
    data: option
  });
}
/* 查询资源变更及版本发布 */
export function getCmbizorVersionView(option: string) {
  return axios({
    url: '/monitor/cmbizorversionCount/getCmbizorVersionView',
    method: 'post',
    data: option
  });
}
export function changeOrganization() {
  return axios({
    url: '/monitor/details/changeOrganization',
    method: 'post'
  });
}
